package com.chenliang.dao;

import com.chenliang.domain.Traveller;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @ProjectName: mavenSSM
 * @Package: com.chenliang.dao
 * 作用：
 */
public interface ITraveller {
    @Select("select * from traveller where id in(select travellerId from order_traveller where orderId=#{orderId})")
    List<Traveller> findByOrders();
}
